package com.cskaoyan.bean.bo;

import com.cskaoyan.bean.entity.Goods;
import com.cskaoyan.bean.entity.GoodsAttribute;
import com.cskaoyan.bean.entity.GoodsProduct;
import com.cskaoyan.bean.entity.GoodsSpecification;
import lombok.Data;

import java.util.List;

/**
 *  商品上架Bo
 *
 */
@Data
public class CreateGoodsInfoBo {

    //商品参数列表
    List<GoodsAttribute> attributes;

    // 商品表
    Goods goods;

    // 商品货品列表
    List<GoodsProduct> products;

    // 商品规格列表
    List<GoodsSpecification> specifications;

    public CreateGoodsInfoBo(List<GoodsAttribute> attributes, Goods goods, List<GoodsProduct> products, List<GoodsSpecification> specifications) {
        this.attributes = attributes;
        this.goods = goods;
        this.products = products;
        this.specifications = specifications;
    }

    public CreateGoodsInfoBo() {
    }
}
